﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SMS.CommandLine;

namespace SMS.Console.CommandLine
{
    class Options
    {
        [Option("f", "file", Required = true, HelpText = "要进行配置的配置文件路径")]
        public string ConfigFilePath = string.Empty;
        [Option("s", "select", Required = true, HelpText = "选择配置文件")]
        public bool ShowSelectForm;
        [Option("o", "override", Required = true, HelpText = "覆盖配置文件路径")]
        public bool Override = true;
        [HelpOption]
        public string GetUsage()
        {
            HelpText info = new HelpText("短信配置向导", "1.0.0");
            info.Copyright = new CopyrightInfo("Guinsoft.com", 2008, 2009);
            info.AddUsageLine("Usage: cfg -f <filePath> -o -s");
            info.AddOptions(this);
            return info;
        }
    }
}
